<template>
    <div class="backBtn">
        <button @click="backHome">
            <van-icon name="arrow-left" size=".4rem" color="#000" />返回
        </button>
    </div>
</template>

<script>
export default {
    methods: {
        backHome() {
            this.$router.go(-1);
        },
    },
};
</script>

<style lang="less" scoped>
.backBtn {
    width: 100%;
    padding: 0 18.5px;
    padding-top: 15px;
    box-sizing: border-box;
    button {
        display: flex;
        align-items: center;
        padding: 5px 0;
        font-size: 14px;
        font-weight: bold;
        color: #000;
        i {
            margin-right: 5px;
        }
    }
}
</style>